package com.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Map;
@Mapper
public interface PerInformationMapper {
    @Select("\t\n" +
            "\tselect usercode,username,phone_num ,date_format(expire_time,'%Y-%m-%d') as expire_time  from t_gps_login_user where login_code =#{username}")
    Map getPerInfo(@Param("username")String username);
}
